package com.zzl.cwlyxt.entity;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * (Follow)实体类
 *
 * @author makejava
 * @since 2024-03-05 17:17:45
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Follow implements Serializable {
    private static final long serialVersionUID = -13447825961081215L;
    /**
     * 回访id
     */
    @TableId(type = IdType.AUTO)
    private Integer followid;
    /**
     * 领养id
     */
    private Integer adoptionid;
    /**
     * 用户id
     */
    private Integer usersid;
    /**
     * 回访时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;
    /**
     * 用户反馈内容
     */
    private String feedback;
    @TableField(exist = false)
    private String realname;
    @TableField(exist = false)
    private String name;


}

